class {
    onCreate() {
        this.state = { hideOwnCounter: false };
    }
}

<if(!state.hideOwnCounter)>
    <counter key="counter"/>
</if>
<span>|</span>
<${input}/>